import com.badlogic.gdx.Gdx
import com.badlogic.gdx.Graphics
import com.badlogic.gdx.graphics.GL10


inline var Graphics.floatWidth: Float
    get() = this.width.toFloat()
    set(value) = Unit

inline var Graphics.floatHeight: Float
    get() = this.height.toFloat()
    set(value) = Unit


inline fun clear()
{
    Gdx.gl.glClearColor(1F, 1F, 1F, 1F)
    Gdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT)
}